package com.pmcc.core.entity;

import io.swagger.annotations.ApiModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by spurs on 2018/11/15.
 */
@Entity
@Table(name = "sys_answer")
@ApiModel(value = "密保答案表" ,description = "answer")
public class Answer extends UUIDEntity{

    @Column(name = "questionId")
    private String questionId;//问题id

    @Column(name = "employeeId")
    private String employeeId;// 角色id

    @Column(name = "userName")
    private String userName;// 用户名

    @Column(name = "answer")
    private String answer;//密保答案

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getQuestionId() {
        return questionId;
    }

    public void setQuestionId(String questionId) {
        this.questionId = questionId;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
